// const Mock = require('better-mock/dist/mock.mp.js')
import Mock from 'better-mock'
const UrlBase: string = 'http://localhost:9001'
Mock.mock('http://localhost:9001/api/login', 'Post', {
  code: 200,
  type: 'success',
  message: '获取成功',
  result: {
    name: '张三',
    account: 'zhangsan',
    password: '******',
    avatar: 'https://example.com/avatar.jpg',
    status: 1,
    mobile: '13800138000',
    token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...',
  },
  extras: '',
  time: '2025-04-23T14:51:03.663Z',
})
export default Mock
